package com.twu.biblioteca.util;

import com.twu.biblioteca.model.Library;

public class LibraryService {
    private static LibraryService libraryService;

    public static LibraryService getInstance(){
        if(libraryService == null)
            libraryService = new LibraryService();
        return libraryService;
    }

    private Library library;
    private LibraryService() {
        this.library = new Library();
    }

    public Library getLibrary() {
        return library;
    }
}
